package com.ysd.gulimall.product.vo;

import com.ysd.gulimall.product.entity.SkuImagesEntity;
import com.ysd.gulimall.product.entity.SkuInfoEntity;
import com.ysd.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;
/**
 * @author lyw
 */
@Data
public class SkuItemVo {
    //1、获取SKU销售信息  pms_sku_info
    private SkuInfoEntity info;
    //2、获取SKU图片信息  pms_sku_images
    private List<SkuImagesEntity> images;
    //3、获取SKU的销售属性组合
    private  List<SkuItemSaleAttrVo> saleAttr;
    //4、获取SPU 基本介绍信息
    private  SpuInfoDescEntity desp;
    //5、获取规格参数组以及组下的规格参数
    private List<SpuItemAttrGroupVo> groupAttrs;

    //是否有货
    private boolean hasStock = true;

}
